
<?php include './application/views/top.php'; ?>
<script src="/static/js/ajaxfileupload.js"></script>
<script src="/static/js/gsdai.js"></script>
<script src="/static/js/My97DatePicker/WdatePicker.js"></script>
<script src="/static/js/formCheck.js"></script>

<div class="clear"></div>
<div class="user_bottom all"></div>
<div class="clear h50"></div>
<div class="layout uc">
	<?php include './application/views/user/left.php'; ?>
	<div class="right">
        <div class="cont" style="margin-top:0px !important;">
        	<ul class="tbt">
            	<li class="w250">箱子颜色</li>
                <li class="w250">打开积分</li>
                <li class="w250">抽奖时间</li>
                <li class="w168 npr">状态</li>
			</ul>
            <?php foreach($list as $val){?>
        	<ul class="tbc">
            	<li class="w250"><?php echo $val['box_color'];?></li>
                <li class="w250"><?php echo $val['open_credit'];?></li>
                <li class="w250"><?php echo date('Y-m-d H:i:s',$val['add_time']);?></li>
            	<li class="w168 npr"><?php echo $val['is_open']==1?"已打开":"<span style='color:red'>未打开</span>";?></li>
			</ul>
            <?php }?>
		</div>
        <div class="clear h30"></div>
        <div class="page">
            <div class="pagination">
            <?php echo $this->pagination->create_links();?>
            </div>
        </div>
	</div>
</div>
<div class="clear h50"></div>
<?php include "./application/views/footer.php";?>